package com.yami.shop.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

// RecommendDTO.java 推荐结果传输对象
@Data
@Schema(description = "推荐商品信息")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RecommendDTO implements Serializable {

    @Schema(description = "商品ID")
    private Long prodId;

    @Schema(description = "商品主图")
    private String pic;

    @Schema(description = "商品名称")
    private String prodName;

    @Schema(description = "推荐得分")
    private Double score;
}
